#
# logstash-6.3.0 服务 
#
FROM yi/centos7-jdk8u151
MAINTAINER Leon

ADD logstash-6.3.0.tar.gz /usr/local/
WORKDIR /usr/local/
# RUN tar -zxvf logstash-6.3.0.tar.gz

COPY logstash.conf  /usr/local/logstash-6.3.0/bin/logstash.conf
COPY logstash.yml  /usr/local/logstash-6.3.0/config/logstash.yml
RUN mkdir /usr/local/logs

ENTRYPOINT  /usr/local/logstash-6.3.0/bin/logstash -f /usr/local/logstash-6.3.0/bin/logstash.conf
